<?php
/**
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 */

$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
$cakeVersion = __d('cake_dev', 'CakePHP %s', Configure::version())
?>
<!DOCTYPE html>
<html>
<!--Header-->
<head>
	<?php echo $this->Html->charset(); ?>
	<title>

		<?php //echo $cakeDescription ?>
		<?php echo $this->fetch('title'); ?>
	</title>
	<!--[if lte IE 8]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
<!--	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>-->
	<?php
	echo $this->Html->meta('icon');
	///////////////////////////////////////////////////////////////////////////////////////////////////
    //
    //		CSS
    //
    ///////////////////////////////////////////////////////////////////////////////////////////////////
	echo $this->Html->css('cake.generic');
	echo $this->Html->css('bootstrap.min');
	echo $this->Html->css('main');
	echo $this->Html->css('reset');
	echo $this->Html->css('styles');
	echo $this->Html->css('jquery.simplyscroll');
	echo $this->Html->css('menu');
	///////////////////////////////////////////////////////////////////////////////////////////////////
    //
    //		Scripts
    //
    ///////////////////////////////////////////////////////////////////////////////////////////////////
	echo $this->Html->script('jquery.min');
	echo $this->Html->script('jquery.simplyscroll.min');
	echo $this->Html->script('bootstrap.min');


	echo $this->fetch('meta');
	echo $this->fetch('css');
	echo $this->fetch('script');

	?>


	<script>
		(function($) {
			$(function() {
				$("#scroller").simplyScroll({direction:'backwards'});
				$("#advertise").simplyScroll({orientation:'vertical',direction:'backwards',customClass:'vert'});
			});
		})(jQuery);
	</script>

</head>
<body>
<div id="container">
	<!--	// Nghia: header-->
	<div id="header">
		<?php
				echo $this->element('header');
		?>
	</div>
	<!--	// END Nghia: header-->



	<div id="content">
		<div class="container-fluid">
			<div class="row col-pt-2">
				<!--				<div class="col-xs-12 col-sm-9 col-md-9 col-lg-9">-->
				<?php echo $this->Session->flash(); ?>
				<?php echo $this->fetch('content'); ?>
				<!--				</div>-->

				<?php
				echo $this->element('fnavi');
				?>
			</div>
		</div>
	</div>
	<!--	// Nghia: footer-->

	<?php
	echo $this->element('footer');
	?>
	<!--		</div>-->
	<!--	// END Nghia: footer-->


</div>
</body>
</html>
